package com.thermal.thermal_inspection.mapper;

import com.thermal.thermal_inspection.entity.NfcManage;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface NfcMapper {
    /**
     * 新建NFC信息
     */
    Integer newNFCManage(NfcManage nfcManage);
    /**
     * 根据NFC名字查NFC
     */
    NfcManage getNFCManageByNfcName(String nfcName);
    /**
     * 根绝NFC信息查找NFC
     */
    NfcManage getNFCManage(String nfcMsg);
    /**
     * 获取NFC所有信息
     */
    List<NfcManage> getAllNFCManages();
    /**
     * 修改NFC信息
     */
    Integer updateNFCManage(NfcManage nfcManage);
    /**
     * 删除NFC信息
     */
    Integer deleteNFCManage(String nfcMsg);
}
